//
//  CPLanguageModel.h
//  ColorPickerClient
//
//  Created by laomi on 2020/8/12.
//  Copyright © 2020 laomi. All rights reserved.
//
#import "BaseModel.h"
NS_ASSUME_NONNULL_BEGIN
@protocol LAOMICommonChoiceProtocol;

typedef NSString LanguageIdentifier;

extern LanguageIdentifier *const CP_English_Identifier; //英文标识
extern LanguageIdentifier *const CP_Chinses_Identifier; // 中文标识
extern LanguageIdentifier *const CP_Auto_Identifier; // 自动
extern NSString *const CP_Last_Selected_Language_Identifier;//上次选择的语言


@interface CPLanguageModel : BaseModel<LAOMICommonChoiceProtocol>
+(NSString*)nameForLanguageIdentifier:(LanguageIdentifier*)identifier;


+(NSArray<CPLanguageModel*>*)allLanguage;

+(NSString*)lastLanguage;
@end

NS_ASSUME_NONNULL_END
